package keyboaUtil.commonUtil.string;

/**
 * @author 2B键盘
 * @date 2018-03-29 13:27
 * @desc String工具类
 **/
public class StringUtil {

    /**
     * 为空返回true
     * @param s
     * @return
     */
    public static boolean isNotNull(String s){
        boolean result = false;
        if(s==null || s==""){
            result = true;
        }
        return result;
    }

    /**
     * 为空返回false
     * @param s
     * @return
     */
    public static boolean isStringNotNull(String s){
        boolean result = true;
        if(s==null || s==""){
            result = false;
        }
        return result;
    }



}
